<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="Sofabulous.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script type='text/javascript' src='http://code.jquery.com/jquery-1.6.4.js'></script>
<script type='text/javascript' src='/GoGoGadget/JavaScriptFunctions.js'></script>

<title>Finance</title>
</head>
<body onload="initializeFinance()">

	<div id = "welcome">
		Go Go Gadget Business!
	</div>
	
	<div id = "nav">
	<ul>
		<li><a href="StartPage.jsp">Home</a></li>
		<li><a href="BusinessList.jsp">Businesses</a></li>
		<li><span>Your Business</span></li>
		<li><a href="mySubscriptions.jsp">Subscribers</a></li>
	</ul>
	</div>
	
	<div id = "main">
		<div id = "subnav">
		<ul>
		<li><a href="Business.jsp">Your Info</a></li>
		<li><a href="ClientList.jsp">Clients</a></li>
		<li><a href="EmployeeList.jsp">Employees</a></li>
		<li><a href="TimeSheetList.jsp">Time Sheets</a></li>
		<li><a href="JobList.jsp">Jobs</a></li>
		<li><a href="PendingBlogs.jsp">Reviews</a></li>
		<li><span>Finance</span></li>
		<li><a href="EmailPage.jsp">Email</a></li>
		<li><a href="GoogleMapsPage.jsp">GoogleMaps</a></li>
		<li><a href="PayrollPage.jsp">PayRoll</a></li>
		<li><a href="RemoveBusiness.jsp">Delete Account</a></li>
		<li><a href="/GoGoGadget/LoginServlet">logout</a></li>
		</ul>
		</div>
	</div>
		
	<div>
		<h1 id="Business"></h1>
		<a>Gross Income:			</a><a id="GrossIncome"></a></br>
		<a>Wages:					</a><a id="Wages"></a></br>
		<a>Amount Owed By Clients:	</a><a id="Owed"></a></br>
		<a>Business Tax Rate:		</a><a id="TaxRate"></a></br>
		<a>Net Income(Before Tax):	</a><a id="PreNetIncome"></a></br>
		<a>Net Income(After Tax):	</a><a id="PostNetIncome"></a></br>
		<a>Tax Deduction:			</a><a id="TaxDeduction"></a></br>
		<a>Start Date:				</a><a id="Start"></a></br>
		<a>End Date:				</a><a id="End"></a></br></br>
		
		<a>Change Time Interval</a></br>
		Start(yyyy-mm-dd)<input type="text" id="startDate"/>
		End(yyyy-mm-dd)<input type="text" id="endDate"/>
		<button id="changedates" onclick="calculateFinance()">Change</button>
	</div>

</body>
</html>